<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-5 col-sm-2">{:__('Bank_id')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-bank_id" data-rule="required" data-source="clothbank/index" class="form-control selectpage" name="row[bank_id]" type="text" value="{$row.bank_id|htmlentities}">
        </div>
        <label class="control-label col-xs-5 col-sm-2">{:__('Type_id')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-type_id" data-rule="required" data-source="clothtype/index" data-field="No" class="form-control selectpage" name="row[type_id]" type="text" value="{$row.type_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-5 col-sm-2">{:__('Process_fee')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-process_fee" class="form-control fee" step="0.1" name="row[process_fee]" type="number" value="{$row.process_fee|htmlentities}">
        </div>
        <label class="control-label col-xs-5 col-sm-2">{:__('Cut_fee')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-cut_fee" class="form-control fee" step="0.1" name="row[cut_fee]" type="number" value="{$row.cut_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-5 col-sm-2">{:__('Pack_fee')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-pack_fee" class="form-control fee" step="0.1" name="row[pack_fee]" type="number" value="{$row.pack_fee|htmlentities}">
        </div>
        <label class="control-label col-xs-5 col-sm-2">{:__('Stamp_fee')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-stamp_fee" class="form-control fee" step="0.1" name="row[stamp_fee]" type="number" value="{$row.stamp_fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-5 col-sm-2">{:__('Other_fee')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-other_fee" class="form-control fee" step="0.1" name="row[other_fee]" type="number" value="{$row.other_fee|htmlentities}">
        </div>
        <label class="control-label col-xs-5 col-sm-2" style="color: red;">{:__('Total_fee')}:</label>
        <div class="col-xs-5 col-sm-3">
            <input id="c-total_fee" class="form-control" step="0.1" name="row[total_fee]" type="number" readonly style="border:0; color: red;" value="{$row.total_fee|htmlentities}">
        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control" rows="5" name="row[remark]" cols="50">{$row.remarck|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
